package com.ryan.encrypttool.business.auth.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 用户表(User)表实体类
 *
 * @author makejava
 * @since 2024-03-03 02:08:15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
public class User implements Serializable {

    private static final long serialVersionUID = -44676894823434695L;

    /**
     * id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 用户编码
     */
    @TableField(value = "user_id")
    private String userId;

    /**
     * 用户名
     */
    @TableField(value = "username")
    private String username;

    /**
     * 密码
     */
    @TableField(value = "password")
    private String password;

    /**
     * 姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 组织id
     */
    @TableField(value = "org_id")
    private String orgId;

    /**
     * 生日
     */
    @TableField(value = "birthday")
    private Date birthday;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Long createTime;

    /**
     * 上次修改时间
     */
    @TableField(value = "update_time")
    private Long updateTime;

    /**
     * 性别
     */
    @TableField(value = "gender")
    private String gender;

    @TableField(value = "mobile")
    private String mobile;

    /**
     * 数据是否有效 0 有效 1 无效
     */
    @TableField(value = "state")
    private String state;

    /**
     * 描述
     */
    @TableField(value = "remark")
    private String remark;

}
